using Ke.Bee.Shared.Models;
using Microsoft.AspNetCore.Http;

namespace Ke.Bee.Shared.Abstractions;

public interface IFileStorageService
{
    Task<ApiResponse<FileStorageResult>> SaveTemporaryFileAsync(IFormFile? file, string taskId, CancellationToken ct = default);
    Task<bool> DeleteFileAsync(string filePath, CancellationToken ct = default);
    Task CleanupOldFilesAsync(TimeSpan olderThan, CancellationToken ct = default);
}
